package com.ztmg.water.service.apartment;

import com.ztmg.water.model.apartment.ApartmentRooms;
import com.ztmg.water.vo.apartment.ApartmentRoomsVO;
import com.ztmg.water.dto.apartment.ApartmentRoomsDTO;
import com.ztmg.water.dto.apartment.ApartmentRoomsPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ApartmentRoomsService{

		JsonResult create(ApartmentRoomsDTO dto);
		JsonResult update(ApartmentRoomsDTO dto);
		JsonResult<ApartmentRoomsVO> selectById(Integer id);
		JsonResult<List<ApartmentRoomsVO>> select(ApartmentRoomsDTO dto);
		JsonResult<PageInfo<ApartmentRoomsVO>> selectPage(ApartmentRoomsPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(ApartmentRoomsDTO dto);
		JsonResult batchDelete(List<Integer> ids);

}